#ifndef SEKAI_UNISYN_INDEX_H
#define SEKAI_TRACK_H

#include <sekai/common.h>
#include <map>
#include <string>
#include <vector>

struct PhoInfo {
  std::string basename;
  std::vector<float> alignment;
};

class UnisynIndex {
 private:
  std::map<std::string, std::string> headerMap;
  std::map<std::string, PhoInfo> phoMap;

 public:
  bool readFromFile(std::string fileName);
  inline PhoInfo getPho(std::string pho) {
     return phoMap[pho];
  }
};

#endif
